package com.qf.controller;

import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sunyamei
 * @version V1.0
 * @Project javase2203
 * @Package com.qf.controller
 * @Description:
 * @Date 2022/8/17 11:36
 */
@RequestMapping("/userb")
@RestController
public class UserBController {

    @Autowired
    private UserService userService;


    /**
     * b账户加款
     * @return
     */
    @RequestMapping("/incr")
    public  Integer increB(){
        Integer count = userService.incrB();
        return  count;
    }

}
